<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
    <title>工作流查看  - {$cwgl_config['webtitle']}</title>
	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link href="{$templateurl}/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="{$templateurl}/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="{$templateurl}/css/animate.css" rel="stylesheet">
    <link href="{$templateurl}/css/style.css?v=4.1.0" rel="stylesheet">
	<link href="{$templateurl}/css/css.css" rel="stylesheet" type="text/css">
	<link href="{$templateurl}/css/common.css" rel="stylesheet" type="text/css">

</head>

<body class="gray-bg">
	<div class="head">
		<div class="content-top clearFix">
			<a href="{php echo $this->createMobileUrl('staff_index')}">
			<em class="return"><</em>
			<span class="fanhui">返回</span>
			</a>
		</div>
	</div>
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
					<!--步骤1-->
					<div class="ibox-title">
                        <h5>步骤一 <small>业务申请</small></h5>
                    </div>
                    <div class="ibox-content">
							<!--工作流ID-->
							<input type="hidden" name="id" value="0">
							<!--提交下一步-->
							<input type="hidden" name="step" value="2">
							<div class="form-group">
								<label for="1_1" class="col-sm-2 control-label">申请人</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" id="1_1" value="{$staffsArray[$curWorkflow['st1_proposer_staff']]['name']}" disabled="" placeholder="申请人名字">
								</div>
							</div>
							<div class="form-group">
								<label for="1_2" class="col-sm-2 control-label">部门</label>
								<div class="col-sm-10">
									<input type="text" class="form-control" value="{$category['name']}" id="1_2" disabled="" placeholder="所属部门">
								</div>
							</div>
							<div class="form-group">
								<label for="1_3" class="col-sm-2 control-label">客户公司名称</label>
							<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st1_company']}" id="1_3" disabled="" placeholder="客户公司名称">
							</div>
							</div>
							<div class="form-group">
								<label for="1_4" class="col-sm-2 control-label">客户基本信息</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st1_baseinfo']}" id="1_4" disabled="" placeholder="客户基本信息">
							    </div>
							</div>
							<div class="form-group">
							    <label for="1_5" class="col-sm-2 control-label">办理事项</label>
							    <div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st1_item']}" id="1_5" disabled="" placeholder="办理事项">
							    </div>
							</div>
							<div class="form-group">
							    <label for="1_6" class="col-sm-2 control-label">注意事项</label>
							    <div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st1_notice']}" id="1_6" disabled="" placeholder="注意事项">
							    </div>
							</div>
							<div class="form-group">
							    <label for="1_7" class="col-sm-2 control-label">移交材料</label>
							    <div class="col-sm-10">
									<input type="text" class="form-control" value="{$curWorkflow['st1_material']}" id="1_7" disabled="" placeholder="移交材料">
								</div>
							</div>
							<div class="form-group">
									<label class="col-sm-2 control-label">经办人员1</label>
									<div class="col-sm-9">
										<input type="text" class="form-control" value="{$staffsArray[$curWorkflow['st1_to1']]['name']}" disabled="">
									</div>
							</div>
							<div class="form-group">
									<label class="col-sm-2 control-label">经办人员2</label>
									<div class="col-sm-9">
										<input type="text" class="form-control" value="{$staffsArray[$curWorkflow['st1_to2']]['name']}" disabled="">
									</div>
							</div>

							<div class="hr-line-dashed"></div>
                    </div>
					{if $step>2}
					<!--步骤2-->
					<div class="ibox-title">
                        <h5>步骤二 <small>总经理审批</small></h5>
                    </div>
					<div class="ibox-content">
							<!--工作流ID-->
							<input type="hidden" name="id" value="{$curWorkflow['id']}">
							<!--提交下一步-->
							<input type="hidden" name="step" value="3">
							<div class="form-group">
								<label class="col-sm-2 control-label">总经理审批：</label>
								<div class="col-sm-10">
									<label class="radio-inline">
									<input type="radio" {if $curWorkflow['st2_agree']==1} checked {/if} readonly disabled id="optionsRadios1">同意</label>
									<label class="radio-inline">
									<input type="radio" {if $curWorkflow['st2_agree']==0} checked {/if} readonly disabled id="optionsRadios2">不同意</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">审批备注：</label>
								<div class="col-sm-10">
									<input type="text" value="{$curWorkflow['st2_note']}" class="form-control" disabled="" placeholder="备注">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
                    </div>
					{/if}
					{if $step>3}
					<!--步骤3-->
					<div class="ibox-title">
                        <h5>步骤三 <small>经办人员</small></h5>
                    </div>
					<div class="ibox-content">
							<!--工作流ID-->
							<input type="hidden" name="id" value="{$curWorkflow['id']}">
							<!--提交下一步-->
							<input type="hidden" name="step" value="4">
							<div class="form-group">
								<label for="2_1" class="col-sm-2 control-label">经办人员</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" id="2_1" disabled="" value="{$staffsArray[$curWorkflow['st3_action_staff']]['name']}">
								</div>
							</div>
							<div class="form-group">
								<label for="2_2" class="col-sm-2 control-label">办理进度</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st3_schedule']}" id="2_2" disabled="" placeholder="办理进度">
								</div>
							</div>
							<div class="form-group">
								<label for="2_3" class="col-sm-2 control-label">注意事项</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st3_notice']}" id="2_3" disabled="" placeholder="注意事项">
								</div>
							</div>
							<div class="form-group">
								<label for="2_4" class="col-sm-2 control-label">移交材料</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st3_material']}" id="2_4" disabled="" placeholder="移交材料">
								</div>
							</div>
							<div class="form-group">
								<label for="2_5" class="col-sm-2 control-label">完成日期</label>
								<div class="col-sm-10">
								  <input type="text" class="form-control" value="{$curWorkflow['st3_over_date']}" id="2_5" disabled="" placeholder="填写日期">
								</div>
								</div>
							<div class="hr-line-dashed"></div>
                    </div>
					{/if}
					{if $step>4}
					<!--步骤4-->
					<div class="ibox-title">
                        <h5>步骤四 <small>内勤录入</small></h5>
                    </div>
					<div class="ibox-content">
							<!--工作流ID-->
							<input type="hidden" name="id" value="{$curWorkflow['id']}">
							<!--提交下一步-->
							<input type="hidden" name="step" value="5">
							<div class="form-group">
								<label for="2_1" class="col-sm-2 control-label">内勤录入</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" id="2_1" disabled="" value="已录入">
								</div>
							</div>
							<div class="form-group">
								<label for="2_2" class="col-sm-2 control-label">备注</label>
								<div class="col-sm-10">
							      <input type="text" class="form-control" value="{$curWorkflow['st4_note']}" id="2_2" disabled="" placeholder="备注">
								</div>
							</div>
							<div class="hr-line-dashed"></div>
						{/if}
                    </div>

                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script src="{$templateurl}/js/jquery.min.js?v=2.1.4"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

    <!-- iCheck -->
    <script src="{$templateurl}/js/plugins/iCheck/icheck.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.i-checks').iCheck({
                checkboxClass: 'icheckbox_square-green',
                radioClass: 'iradio_square-green',
            });
        });
    </script>

	<!--footer star-->
	<br><br>
	<div class="navbar-fixed-bottom">{template 'staff_footer'}</div>
</body>
</html>
